﻿
<?php
	$db=mysql_connect("localhost","root","admin");
	mysql_select_db("postcard",$db);
	
	if(!$db)
	{
		echo("connect to db failed!!!".mysql_error());
	}else{
		echo("success connect to db!!!");
	}
	
?>
